package com.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.entity.Car;
import com.entity.Orders;
import com.entity.view.OrdersView;
import com.entity.vo.OrdersVO;
import com.utils.PageUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrdersService extends IService<Orders> {
    PageUtils queryPage(Map<String, Object> params);

    List<OrdersVO> selectListVO(Wrapper<Orders> wrapper);

    OrdersVO selectVO(@Param("ew") Wrapper<Orders> wrapper);

    List<OrdersView> selectListView(Wrapper<Orders> wrapper);

    OrdersView selectView(@Param("ew") Wrapper<Orders> wrapper);

    PageUtils queryPage(Map<String, Object> params,Wrapper<Orders> wrapper);


    List<Map<String, Object>> selectValue(Map<String, Object> params,Wrapper<Orders> wrapper);

    List<Map<String, Object>> selectTimeStatValue(Map<String, Object> params,Wrapper<Orders> wrapper);

    List<Map<String, Object>> selectGroup(Map<String, Object> params,Wrapper<Orders> wrapper);

}
